package com.googlecode.everyidea.core.dao;

import com.googlecode.everyidea.core.model.Role;

public interface RoleDAO {
    /**
     * 
     * This method corresponds to the database table S_ROLE
     *
     * 
     */
    void insert(Role record);

    /**
     * 
     * This method corresponds to the database table S_ROLE
     *
     * 
     */
    int updateByPrimaryKey(Role record);

    /**
     * 
     * This method corresponds to the database table S_ROLE
     *
     * 
     */
    int updateByPrimaryKeySelective(Role record);

    /**
     * 
     * This method corresponds to the database table S_ROLE
     *
     * 
     */
    Role selectByPrimaryKey(int roleId);

    /**
     * 
     * This method corresponds to the database table S_ROLE
     *
     * 
     */
    int deleteByPrimaryKey(int roleId);
}